PeachDrawing.PDF.PdfOperation

PdfOperation.MergeBytes(byte[], string, string) Method

Adds the pages of a PDF held in memory to the end.

public PeachDrawing.PDF.PdfOperation MergeBytes(byte[] pdf, string? pageSelector=null, string? password=null);

Parameters

pdf System.Byte[]

the bytes of the file

pageSelector System.String

the pages of it to add, or null for all

password System.String

its password, if it has one

Returns

PdfOperation
this operation